﻿namespace Sessionizer.Samples.Model.Imp
{
    public sealed class TopRecord : ITopRecord
    {
        private readonly int _position;
        private readonly double _rank;
        private readonly ITeam _team;

        public TopRecord(ITeam team, int position, double rank)
        {
            _team = team;
            _position = position;
            _rank = rank;
        }

        public ITeam Team
        {
            get { return _team; }
        }

        public int Position
        {
            get { return _position; }
        }

        public double Rank
        {
            get { return _rank; }
        }
    }
}